﻿using rmTest_6.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace rmTest_6.ServiceInterface
{
    public interface IUserService
    {
        //注册
        void Register(User user);
        /// <summary>
        /// 登陆
        /// </summary>
        /// <param name="name">名称</param>
        /// <param name="password">密码</param>
        void Login(string name, string password);
        /// <summary>
        /// 注销
        /// </summary>
        /// <param name="name"></param>
        void Layout(string name);
    }
}
